#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@File    :   ftnd_eval_param.py
@Time    :   2020/11/27
@Author  :   wenke wang
@Version :   1.0
@Desc    :   FTND烟草依赖评估参数
'''

# here put the import lib

class FtndEvalParam():
    """
    FTND烟草依赖评估参数
    """

    def __init__(self, first_smoking_time, hard_to_control, unwilling_to_giveup, smoking_num_everyday, more_than_other_times, smoking_during_illness):
        self.__first_smoking_time = int(first_smoking_time)
        self.__hard_to_control = int(hard_to_control)
        self.__unwilling_to_giveup = int(unwilling_to_giveup)
        self.__smoking_num_everyday = int(smoking_num_everyday)
        self.__more_than_other_times = int(more_than_other_times)
        self.__smoking_during_illness = int(smoking_during_illness)

    @property
    def first_smoking_time(self):
        """
        早晨醒来多久第一支烟
        """
        return self.__first_smoking_time
    @first_smoking_time.setter
    def first_smoking_time(self, val):
        self.__first_smoking_time = int(val)

    @property
    def hard_to_control(self):
        """
        是否在许多禁烟场所很难控制吸烟
        """
        return self.__hard_to_control
    @hard_to_control.setter
    def hard_to_control(self, val):
        self.__hard_to_control = int(val)

    @property
    def unwilling_to_giveup(self):
        """
        哪一支烟最不愿意放弃
        """
        return self.__unwilling_to_giveup
    @unwilling_to_giveup.setter
    def unwilling_to_giveup(self, val):
        self.__unwilling_to_giveup = int(val)

    @property
    def smoking_num_everyday(self):
        """
        每天吸多少支卷烟
        """
        return self.__smoking_num_everyday
    @smoking_num_everyday.setter
    def smoking_num_everyday(self, val):
        self.__smoking_num_everyday = int(val)

    @property
    def more_than_other_times(self):
        """
        早晨醒来后第1个小时是否比其他时间吸烟多
        """
        return self.__more_than_other_times
    @more_than_other_times.setter
    def more_than_other_times(self, val):
        self.__more_than_other_times = int(val)

    @property
    def smoking_during_illness(self):
        """
        患病在床时仍旧吸烟
        """
        return self.__smoking_during_illness
    @smoking_during_illness.setter
    def smoking_during_illness(self, val):
        self.__smoking_during_illness = int(val)

    